package club.caihappy.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * 启动类
 * Created by DELL on 2022/5/7
 **/
@SpringBootApplication
@MapperScan("club.caihappy.server.mapper")
//解决Failed to start bean 'documentationPluginsBootstrapper'; nested exception is java.lang.NullPointerException
//@EnableWebMvc
public class YebApplication {
    public static void main(String[] args) {
        SpringApplication.run(YebApplication.class, args);
    }
}
